package com.zaoniao.enstudy.infrastructure.mapper;

import com.zaoniao.enstudy.domain.entity.bo.VocabularyWordsBo;
import com.zaoniao.enstudy.infracore.mapper.MyMapper;
import com.zaoniao.enstudy.infrastructure.po.UserVocabularyWordsPo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserVocabularyWordsMapper extends MyMapper<UserVocabularyWordsPo> {

    /**
     * 根据词汇表Id查询用户词汇下的单词列表信息.
     *
     * @param vocabularyId 词汇表Id
     * @return 用户词汇下的单词列表信息.
     */
    List<VocabularyWordsBo> selectVocabularyWords(@Param("vocabularyId") Integer vocabularyId);

}